grammar pavadas;

options {
	language = Python;
}

@members {
	# Map variable name to Integer object holding value
	memory = dict()
}
prog:	c'\n';
c:   a {print("c -> a")} | 'o' {print("c -> o")};
a:	'p'a{print("a -> p")} | 'u'b {print("a -> u")};
b:	't'b{print("b -> t")}|'o'{print("b -> o")};

